package agentFramework.action;

import agentFramework.agent.Agent;
import agentFramework.core.env.Environment;

public abstract class Action 
{
	private int type;
	
	public int getType ()
	{
		return type;
	}
	
	public Action (int type)
	{
		this.type = type;
	}
	
	public boolean equals(Object o)
	{
		Action a = (Action) o;
		
		return (a.getType() == this.getType());
	}
	
	
	public abstract String toString ();
	public abstract void execute (Environment env, Agent a);
	
}
